package structure.stack;

/**
* @description: 栈节点
* @author: wangjun
* @create: 2022-04-22
*/
public class StackNode {

    public int value;
    public StackNode next;

    public StackNode(int value){
        this.value = value;
    }

    @Override
    public String toString() {
        return "StackNode{" +
                "value=" + value +
                '}';
    }
}